﻿<u:UDialog x:Class="UTable.Objects.Controls.UWarnDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:u="clr-namespace:UTable.Objects.Controls;assembly=UTable.Core"
    Height="250" Width="300" >
    <u:UGrid>
        <u:UGrid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="80" />
        </u:UGrid.RowDefinitions>
        <TextBlock Grid.Row="0" Foreground="White" FontSize="18" Text="{Binding Path=Message}" 
                   HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap"/>
        <u:UButton Grid.Row="1" MaxWidth="200" Foreground="White" FontSize="18" Margin="10, 10, 10, 10" x:Name="OkButton" Pressed="OkButton_Pressed">OK</u:UButton>
    </u:UGrid>
</u:UDialog>
